package com.hyz.login.service.impl;


import com.hyz.login.mapper.DoctorMapper;
import com.hyz.login.model.Doctor;
import com.hyz.login.service.DoctorService;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;
import java.util.List;


@Service
public class DoctorServiceImpl implements DoctorService {

    @Resource
    private DoctorMapper doctorMapper;

    @Override
    public List<Doctor> doctorsAll(String departmentId, String registeredId) {

        return doctorMapper.doctorsAll(departmentId,registeredId);
    }
}
